package asava.trees;

/**
 * @author Tim Richter
 */
public final class TreeKind {
    public static final int UNIT = 1;
    public static final int IMPORT = 2;
    public static final int NAMESPACE = 3;
    public static final int CLASS = 5;
    public static final int FUNCTION = 6;
    public static final int VAR = 7;

    public static final int BLOCK = 10;
    public static final int WHILE = 11;
    public static final int DOWHILE = 12;
    public static final int FOR = 14;
    public static final int FORIN = 15;
    public static final int FOREACH = 16;
    public static final int SWITCH = 17;
    public static final int CASE = 18;
    public static final int TRY = 19;
    public static final int CATCH = 20;
    public static final int THROW = 21;
    public static final int RETURN = 22;
    public static final int LABELED = 23;
    public static final int BREAK = 24;
    public static final int CONTINUE = 25;
    public static final int IF = 26;
    public static final int DELETE = 27;

    public static final int THIS = 30;
    public static final int SUPER = 31;
    public static final int IDENT = 32;
    public static final int SELECT = 33;
    public static final int APPLY = 34;
    public static final int NEWCLASS = 35;
    public static final int COND = 36;
    public static final int ASSIGN = 37;
    public static final int BINOP = 38;
    public static final int PREFIX = 39;
    public static final int POSTFIX = 40;
    public static final int INDEXED = 41;
    public static final int LITERAL = 42;
    public static final int CAST = 43;
    public static final int PARENS = 44;
    public static final int NEWARRAY = 45;
    public static final int EMPTY = 46;

    public static final int TYPEREF = 50;
}
